<div><?base foreach="$aTest" key="$id" value="$text" ?><span><?base content="$id" ?>:<?base content="$text" ?></span></div>